package ucm.controller;

import javax.swing.JOptionPane;
import ucm.module.UC_SelUserM;

public class UC_SelUserC {
    private String userid = null;



    public UC_SelUserC(String userid) {
        this.userid = userid;
    }



    public void selectByUserId_modify() {
        if (userid.equals("")) {
            JOptionPane.showMessageDialog(null, "Please input userid!");
        }
        UC_SelUserM uc_sum = new UC_SelUserM();
        uc_sum.selectByUserId_modify(userid);
    }

        public void selectByUserId_delete() {
        if (userid.equals("")) {
            JOptionPane.showMessageDialog(null, "Please input userid!");
        }
        UC_SelUserM uc_sum = new UC_SelUserM();
        uc_sum.selectByUserId_delete(userid);
    }
        
}
